#pragma once
#include <atlimage.h>
#include "ImageLab.h"

// CSOMImage dialog

class CSOMImage : public CDialog
{
	DECLARE_DYNAMIC(CSOMImage)
private:
	using CDialog::Create;
public:
	CSOMImage(CWnd* pParent);   // standard constructor
	BOOL Create();
	void imageDestroy();
	virtual ~CSOMImage();

// Dialog Data
	enum { IDD = IDD_SOM_IMAGE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnPaint();								//paint the view
	virtual void PostNcDestroy();						//destroy the dialog

	DECLARE_MESSAGE_MAP()

public:
	CImage	c_image;									//image attached to the dialog

protected:
	CWnd*	m_nParent;									//pointer to the parent
	int		m_nID;										//id of the dialog
};

